const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  transpileDependencies: true,
  // 关闭eslint验证
  lintOnSave: false,

  //请求代理
  devServer: {
    port: 8088,
    client: {
      webSocketURL: "ws://0.0.0.0:8089/ws",
    },
    proxy: {
      "^/": {
        target: "http://localhost:8088",
        ws: false,
        pathRewrite: {
          "/": "",
        },
      },
    },
  },
});
